﻿<UserControl x:Class="MouseExtender.View.EditItemView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid Background="#33AAAAAA" >
        <Border Margin="20" BorderBrush="Black" BorderThickness="1" CornerRadius="5" Background="White">
            <Grid Margin="5">
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="*" />
                    <RowDefinition Height="Auto" />
                </Grid.RowDefinitions>
                <TextBlock Text="Edit item view" Grid.Row="0"/>
                <ContentControl x:Name="CustomEditor" Grid.Row="1" />
                <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Stretch">
                    <Button Height="30" Width="100" HorizontalAlignment="Left" Content="OK" Margin="2" Click="ButtonOK_Click" />
                    <Button Height="30" Width="100" HorizontalAlignment="Right" Content="Cancel" Margin="2" Click="ButtonCancel_Click"/>
                </StackPanel>
            </Grid>
        </Border>
    </Grid>
</UserControl>
